package com.xtravel.tweet.database.po;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by Kevin
 */
@DatabaseTable(tableName = "tb_tweet_source")
public class TweetSourcePo {

    @DatabaseField(id = true)
    private int id;

    @DatabaseField(columnName = "obj_id")
    private Long objId;

    @DatabaseField(columnName = "type")
    private int type;

    @DatabaseField(columnName = "tweet_id")
    private String tweetId;

    @DatabaseField(columnName = "url")
    private String url;

    @DatabaseField(columnName = "shorten_url")
    private String shortenUrl;

    @DatabaseField(columnName = "large_url")
    private String largeUrl;

    @DatabaseField(columnName = "order_by")
    private int orderBy;

    /**
     * 1 tweet 2 image 3 link
     */
    @DatabaseField(columnName = "source_type")
    private int sourceType;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Long getObjId() {
        return objId;
    }

    public void setObjId(Long objId) {
        this.objId = objId;
    }

    public int getSourceType() {
        return sourceType;
    }

    public void setSourceType(int sourceType) {
        this.sourceType = sourceType;
    }

    public int getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(int orderBy) {
        this.orderBy = orderBy;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTweetId() {
        return tweetId;
    }

    public void setTweetId(String tweetId) {
        this.tweetId = tweetId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getShortenUrl() {
        return shortenUrl;
    }

    public void setShortenUrl(String shortenUrl) {
        this.shortenUrl = shortenUrl;
    }

    public String getLargeUrl() {
        return largeUrl;
    }

    public void setLargeUrl(String largeUrl) {
        this.largeUrl = largeUrl;
    }

}
